﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineJobPortal.Models
{
    public interface IResumeRepository
    {
       List<PersonalInfo> SearchByInfoID(int userid);
       List<Academic> SearchByAcademicsID(int userid);
       List<Experience> SearchByExperienceID(int userid);
       List<Honour> SearchByHonourID(int userid);
       List<Language> SearchByLanguageID(int userid);
       List<Project> SearchByProjectID(int userid);
       List<Reference> SearchByReferenceID(int userid);
       List<Skill> SearchBySkillsID(int userid);
       List<TargetJob> SearchByTargetJobID(int userid);

       PersonalInfo SearchByInfo(int userid);
       Academic SearchByAcademics(int userid);
       Experience SearchByExperience(int userid);
       Honour SearchByHonour(int userid);
       Language SearchByLanguage(int userid);
       Project SearchByProject(int userid);
       Reference SearchByReference(int userid);
       Skill SearchBySkills(int userid);
       TargetJob SearchByTargetJob(int userid);

       void DeleteResume(int id);

       void UpdateInfo(PersonalInfo obj);
       void UpdateAcademic(Academic obj);
       void UpdateExperience(Experience obj);
       void UpdateHonour(Honour obj);
       void UpdateLanguage(Language obj);
       void UpdateProject(Project obj);
       void UpdateReference(Reference obj);
       void UpdateSkills(Skill obj);
       void UpdateTargetJob(TargetJob obj);

       void AddInfo(PersonalInfo obj);
       void AddAcademic(Academic obj);
       void AddExperience(Experience obj);
       void AddHonour(Honour obj);
       void AddLanguage(Language obj);
       void AddProject(Project obj);
       void AddReference(Reference obj);
       void AddSkills(Skill obj);
       void AddTargetJob(TargetJob obj);

    }
}
